home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / CNews / Source / misc / act.to.times next >
Encoding:
Text File  |  1990-06-29  |  335 b   |  11 lines

  1. #! /bin/sh
  2. # act.to.times [file...] - turn an active file into a active.times file inaccurately
  3. # =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
  4. . ${NEWSCONFIG-/usr/lib/news/bin/config}
  5. # export NEWSCTL NEWSBIN NEWSARTS
  6. PATH=$NEWSCTL/bin:$NEWSBIN:$NEWSPATH ; export PATH
  7. umask $NEWSUMASK
  8.  
  9. now=`getdate now`
  10. cat $* | sed "s/ .*/ $now unknown/"
  11.